package com.elective.courseselect.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 回答问卷表
 * 
 * @author lee
 * @email 943204006@qq.ccom
 * @date 2021-09-04 19:23:06
 */
@Data
@TableName("answer")
public class AnswerEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 
	 */
	private Integer studentId;
	/**
	 * 
	 */
	private Integer questionnaireId;
	/**
	 * 
	 */
	private Date time;
	/**
	 * 
	 */
	private String solution;
	/**
	 *
	 */
	private Integer totalScore;
	/**
	 * 0- 待预选 1-已选上课 2-被淘汰
	 */
	private Integer status;
	/**
	 *
	 */
	@TableField(exist = false)
	private JSONObject solutionByJSON;

}
